﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XgPushTest
{
    /// <summary>
    /// 推送消息
    /// </summary>
    public class MsgInfo
    {
        public string title { get; set; }
        public string msg { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string tag { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string account { get; set; }
    }

    /// <summary>
    /// app推送应用配置
    /// </summary>
    public class AppPushSettingInfo
    {
        public string AppId { get; set; }
        public string Access_id { get; set; }
        public string Secret_key { get; set; }
    }

    /// <summary>
    /// 腾讯接口返回消息
    /// </summary>
    public class XgApiBackMsg
    {
        public int ret_code { get; set; }
        public string err_msg { get; set; }
        public string result { get; set; }
    }

    /// <summary>
    /// 推送接口返回消息
    /// </summary>
    public class PushBackMsg
    {
        /// <summary>
        /// 状态码，1=有错误，0=成功
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string msg { get; set; }
    }

}
